package com.jinzhi.oss.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "minio")
public class MinioProperty {
    @ApiModelProperty("Minio地址")
    private String endpoint;
    @ApiModelProperty("存储桶名称")
    private String bucketName;
    @ApiModelProperty("Minio账号")
    private String accessKey;
    @ApiModelProperty("Minio密码")
    private String secretKey;
//    private long callTimeOut = 60000;
//    private long readTimeOut = 300000;


}
